package com.h3c.nem.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * Copyright (C), 2020-2020, h3c
 * FileName: TbWorkerPromiseDTO
 *
 * @Author: l22886
 * @Date: 2022-01-19
 * Description: tb_worker_promise dto实体
 * Version: 1.0
 */
@ApiModel(value="TbWorkerPromise对象", description="")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TbWorkerPromiseDTO {


    @ApiModelProperty(value = "记录ID")
    private String recordId;

    @ApiModelProperty(value = "员工工号")
    private String workerId;

    @ApiModelProperty(value = "流程ID")
    private String flowId;

    @ApiModelProperty(value = "承诺类别：1 业务目标承诺；2 个人发展承诺；")
    private Integer promiseType;

    @ApiModelProperty(value = "承诺要素")
    private String promisePoint;

    @ApiModelProperty(value = "目标")
    private String promiseTarget;

    @ApiModelProperty(value = "关键措施")
    private String promiseKeyActions;

    @ApiModelProperty(value = "完成时间")
    private String finishDate;

    @ApiModelProperty(value = "比重")
    private Integer weight;

    @ApiModelProperty(value = "完成情况（预留）")
    private String finishReply;

    @ApiModelProperty(value = "得分（预留）")
    private String score;

    @ApiModelProperty(value = "发展建议（预留）")
    private String suggest;

    @ApiModelProperty(value = "操作时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="Asia/Shanghai")
    private Date operateTime;

    private Integer promiseOrder;

    /**
     * 排序字段 + 升序， -降序
     * 比如 +updateTime 根据 修改时间升序排序，-updateTime 根据 修改时间降序排序
     */
    private String orderBy;

}
